package zflx_new;


import java.sql.SQLException;
import java.util.HashMap;
import java.util.Map;

/**
 * 工具类
 */
public class g_shop {

    static String schem = "dbadmin";
//    static String year = "2019";
    static String[] years = new String[]{"2019","2020"} ;
//    static String month = "06";
//    static String timeStamp = "1593446400";
    static String[] months = new String[]{"01","02","03","04","05","06","07","08","09","10","11","12"};
    static Map<String,String> map = new HashMap<String,String>();
    static Map<String,String> map1 = new HashMap<String,String>();
    /**
     *
     * @param args
     * @throws SQLException
     */
    public static void main(String[] args) throws SQLException {
//        map.put("01","1548777600");
//        map.put("02","1551283200");
//        map.put("03","1553875200");
//        map.put("04","1556553600");
//        map.put("05","1559145600");
//        map.put("06","1561824000");
//        map.put("07","1564416000");
//        map.put("08","1567094400");
//        map.put("09","1569772800");
//        map.put("10","1572364800");
//        map.put("11","1575043200");
//        map.put("12","1577635200");


        map1.put("01","1580313600");
        map1.put("02","1582819200");
        map1.put("03","1585497600");
//        map1.put("04","1588176000");
//        map1.put("05","1590768000");
//        map1.put("06","1593446400");
//        for (Map.Entry<String, String> entry :  map.entrySet()){
//            g_tables.g_allshop(years[0], entry.getKey(), entry.getValue(), schem);
//        }

        for (Map.Entry<String, String> entry :  map1.entrySet()){
            g_tables.g_allshop(years[1], entry.getKey(), entry.getValue(), schem);
        }

    }
}



